package org.ctstudio.oa.duty.dao;

import java.util.List;

import org.apache.ibatis.annotations.Mapper;
import org.ctstudio.oa.duty.bean.SignQuery;
import org.ctstudio.oa.duty.bean.SignRecord;

@Mapper
public interface SignRecordsMapper {
  int add(SignRecord r);

  int abnormalAdd(SignRecord r);

  SignRecord get(long id);

  SignRecord getDisplacement(SignRecord r);

  long count(SignQuery query);

  List<SignRecord> query(SignQuery query);
}
